package com.oneraku.service.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @Author: hui.ren@huberbuy.com
 * @Date: 2020/1/16 13:21
 */
@Data
@ConfigurationProperties(prefix = "spring.datasource.hikari")
public class HikariConfigProperties{
    private String catalog;
    private long connectionTimeout;
    private long validationTimeout;
    private long idleTimeout;
    private long leakDetectionThreshold;
    private long maxLifetime;
    private int maximumPoolSize;
    private int minimumIdle;
    private String username;
    private String password;
    private long initializationFailTimeout;
    private String connectionInitSql;
    private String connectionTestQuery;
    private String driverClassName;
    private String jdbcUrl;
    private String poolName;

}
